#region using

using RealEstate.Core;

using System;
using System.Collections.Generic;
using System.Text;

#endregion

namespace RealEstate.Security.User
{
	public class UserEntity : AbstractEntityObject
	{

		#region Constructors

		public UserEntity() { }

		#endregion

		#region Private Fields

		private const string domainName = "RealEstate.User";

		#endregion

		#region Overrides

		public override string DomainName
		{
			get { return domainName; }
		}

		#endregion

		#region Private Fields

		private Guid userID;

		private string firstname;

		private string middlename;

		private string lastname;

		private DateTime lastaccess;

		#endregion

		#region Public Properties

		public virtual Guid UserID
		{
			get { return userID; }
			set { userID = value; }
		}

		public virtual string Firstname
		{
			get { return firstname; }
			set { firstname = value; }
		}

		public virtual string Middlename
		{
			get { return middlename; }
			set { middlename = value; }
		}

		public virtual string Lastname
		{
			get { return lastname; }
			set { lastname = value; }
		}

		public virtual DateTime Lastaccess
		{
			get { return lastaccess; }
			set { lastaccess = value; }
		}

		#endregion

	}
}
